//
// Created by 72702 on 2025/1/23.
//

#ifndef INC_1_TREE_FUNCTION_H
#define INC_1_TREE_FUNCTION_H

#endif //INC_1_TREE_FUNCTION_H

#include <stdio.h>
#include <stdlib.h>

typedef char BiElemType;
typedef struct BiTNode
{
    BiElemType c;
    struct BiTNode* leftchild;
    struct BiTNode* rightchild;
}BiTNode,*BiTree;

//tag结构体是辅助队列使用的
typedef struct tag
{
    BiTree p;//树的某一个节点的地址值
    struct tag* pnext;
}tag_t, *ptag_t;

